﻿using System;
using System.Collections.Generic;
using System.Text;

namespace centraldba_dbrestore_utility.Data
{
    public class MyServer
    {
        private string _srv_type_ro, _srv_description, _srv_server_name, _srv_product_version;
        bool _is_visible;

        public string srv_type_ro
        {
            get { return this._srv_type_ro; }
            set { if (this._srv_type_ro != value) { this._srv_type_ro = value; } }
        }

        public string srv_description
        {
            get { return this._srv_description; }
            set { if (this._srv_description != value) { this._srv_description = value; } }
        }

        public string srv_server_name
        {
            get { return this._srv_server_name; }
            set { if (this._srv_server_name != value) { this._srv_server_name = value; } }
        }

        public string srv_product_version
        {
            get { return this._srv_product_version; }
            set { if (this._srv_product_version != value) { this._srv_product_version = value; } }
        }

        public string env_server_name
        {
            get { return "(" + srv_type_ro + ") " + srv_server_name; }
        }

        public bool is_visible
        {
            get { return _is_visible; }
            set { _is_visible = value; }
        }
    }
}
